CAsaObjectManager is the asa object storage manager class that is used to store and retrieve asa object.
More...
CAsaObjectManager is the asa object storage manager class that is used to store and retrieve asa object.
◆ createObject()
| CAsaObject CAsaObjectManager::createObject |
( |
ObjectType |
, |
|
|
string |
|
|
) |
| |
Creates an asa object.
- Parameters
-
| objName,object | name |
| type,asa | object type, values: eNetwork = 0, eService = 1, eGroupService = 2, eGroupServiceTcp = 3, eGroupServiceUdp = 4, eGroupServiceTcpUdp = 5, eGroupNetwork = 6, eWebvpn = 7 |
- Returns
- CAsaObject, value is the asa object that is newly created.
◆ getMostUse()
| int CAsaObjectManager::getMostUse |
( |
| ) |
|
Get the number of static and dynamic nat entries have been used.
- Returns
- int, value is the number of static and dynamic nat entries have been used
◆ getNatObjectCount()
| int CAsaObjectManager::getNatObjectCount |
( |
| ) |
|
Get Number of Nat Objects.
- Returns
- int, value is the number of nat objects that are stored.
◆ getObjectAt()
Get the Asa object at a specified index.
- Parameters
-
- Returns
- value is the Asa object at the specified index.
◆ getObjectByName()
| CAsaObject CAsaObjectManager::getObjectByName |
( |
string |
| ) |
|
Returns the asa object based on name.
- Parameters
-
- Returns
- CAsaObject, value is the asa object based on name.
◆ getObjectCount()
| int CAsaObjectManager::getObjectCount |
( |
| ) |
|
Get the number of asa objects.
- Returns
- int, value is the number of asa objects.
◆ nameifChanged()
| void CAsaObjectManager::nameifChanged |
( |
string |
, |
|
|
string |
|
|
) |
| |
This function updates the asa object that has reference to interface nameIf.
- Parameters
-
| newName,the | interface new nameIf |
| oldName,the | interface old nameIf |
◆ removeObjectByName()
| void CAsaObjectManager::removeObjectByName |
( |
string |
| ) |
|
Remove the asa object based on name.
- Parameters
-
| objName,object | name to search with. |
◆ setMostUse()
| void CAsaObjectManager::setMostUse |
( |
int |
| ) |
|
Set the number of static and dynamic nat entries have been used.
- Parameters
-
| mostUse,the | number of static and dynamic nat entries have been used |
The documentation for this class was generated from the following file: